package com.warrior.gatherweb.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author xujian
 * @Description 自定义异常类
 * @Date 9:41 2020/8/27
 * @Param
 * @return
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApplicationException extends Exception {

	/**
	 * 异常编码
	 */
	private int code;

	/**
	 * 异常消息
	 */
	private String message;

}
